package com.example.apiproject.websocket;

import com.example.apiproject.entity.Messages;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class Command {

    // 连接信息码
    private Integer code;


    // 用户或群组的ID
    private String id;


    // 接收方的用户类型, 0表示私聊，1表示群聊
    private Integer type;


}
